package com.example.study_backstage.utils;

/**
 * @author lxw
 * @version 1.0
 * @data 2023/3/24
 */
public class oConvertUtils {

    public static boolean isEmpty(Object object) {
        if (object == null) {
            return (true);
        }
        if ("".equals(object)) {
            return (true);
        }
        if ("null".equals(object)) {
            return (true);
        }
        return (false);
    }

    public static boolean isNotEmpty(Object object) {
        if (object != null && !"".equals(object) && !object.equals("null")) {
            return (true);
        }
        return (false);
    }
}
